#include "wx/xrc/xh_kwxlcdclockhandler.h"
#include "wx/KWIC/LCDClock.h"

IMPLEMENT_DYNAMIC_CLASS(kwxLCDClockHandler, wxXmlResourceHandler)

kwxLCDClockHandler::kwxLCDClockHandler() {
   
   
    AddWindowStyles();

   
   
   
}

wxObject *kwxLCDClockHandler::DoCreateResource() {
      
    XRC_MAKE_INSTANCE(control, kwxLCDClock)
    control->Create(m_parentAsWindow, GetPosition(), GetSize());

    SetupWindow(control);

    return control;
}

bool kwxLCDClockHandler::CanHandle(wxXmlNode *node) {
    return IsOfClass(node, wxT("kwxLCDClock"));
}
